package com.lt.lumentracks.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serial;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 帖子话题表（关联表）
 * </p>
 *
 * @author swl
 * @since 2025-07-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("post_topic")
public class PostTopic implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 关联记录唯一标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 帖子ID
     */
    private Integer postId;

    /**
     * 话题ID
     */
    private Integer topicId;


}
